package cn.zs.supply.web.config;


import cn.zs.supply.common.core.web.config.BaseSwaggerConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.service.*;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import springfox.documentation.spi.service.contexts.SecurityContext;
import java.util.ArrayList;
import java.util.List;


@Configuration
@EnableSwagger2
public class Swagger2Config  extends BaseSwaggerConfig{
    @Override
    public String getSystemVersion(){
        return "1.0.0";
    }
    @Override
    public String getBasePackage(){
        return "cn.zs.supply.controller";
    }
    @Override
    public String getDocTitle(){
        return "前台OpenApi";
    }
    @Override
    public String getDocDesc(){
        return "本文档包含了前台业务系统接口";
    }
}
